﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.ComponentModel;
using System.ComponentModel.DataAnnotations;
using System.Web.Mvc;

namespace SCS.Core.Models.CollectionFontend
{
    public class BuyCollection
    {
        [Required(ErrorMessage = "*")]
        [StringLength(10)]
        public string MethodBuy { get; set; }

        public double ValueBuy { get; set; }

        [Required(ErrorMessage = "*")]
        [DisplayName("Account Receive")]
        [StringLength(100)]
        public string AccountReceive { get; set; }

        [Required(ErrorMessage = "*")]
        [DisplayName("Account Receive Name")]
        [StringLength(150)]
        public string AccountReceiveName { get; set; }

        //[Required(ErrorMessage = "*")]
        //[DisplayName("Full Name")]
        //[StringLength(250)]
        //public string FullName { get; set; }

        //[Required(ErrorMessage = "*")]
        //[StringLength(150)]
        //public string Address { get; set; }

        //[Required(ErrorMessage = "*")]
        //[StringLength(50)]
        //public string City { get; set; }

        //[DisplayName("Postal Code")]
        //[StringLength(10)]
        //public string PostalCode { get; set; }

        //[Required(ErrorMessage = "*")]
        //[StringLength(50)]
        //public string Country { get; set; }

        //[Required(ErrorMessage = "*")]
        //[StringLength(50)]
        //public string Phone { get; set; }

        //[Required(ErrorMessage = "*")]
        //[DisplayName("Email Address")]
        //[RegularExpression(@"[A-Za-z0-9._%+-]+@[A-Za-z0-9.-]+\.[A-Za-z]{2,4}", ErrorMessage = "Email Invalid.")]
        //[DataType(DataType.EmailAddress)]
        //public string Email { get; set; }

        //[ScaffoldColumn(false)]
        //public int ShipmentID { get; set; }

        //public int OrderID { get; set; }

        //public int InvoiceID { get; set; }

        //public byte Status { get; set; }

        //public DateTime CreateDate { get; set; }
    }
}
